package com.eshop.modules.system.service.dto;

import com.eshop.annotation.Query;

public class DictDetailQueryCriteria
{
    @Query(type = Query.Type.INNER_LIKE)
    private String label;
    private String dictName;
    
    public String getLabel() {
        return this.label;
    }
    
    public String getDictName() {
        return this.dictName;
    }
    
    public void setLabel(final String label) {
        this.label = label;
    }
    
    public void setDictName(final String dictName) {
        this.dictName = dictName;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof DictDetailQueryCriteria)) {
            return false;
        }
        final DictDetailQueryCriteria other = (DictDetailQueryCriteria)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$label = this.getLabel();
        final Object other$label = other.getLabel();
        Label_0065: {
            if (this$label == null) {
                if (other$label == null) {
                    break Label_0065;
                }
            }
            else if (this$label.equals(other$label)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$dictName = this.getDictName();
        final Object other$dictName = other.getDictName();
        if (this$dictName == null) {
            if (other$dictName == null) {
                return true;
            }
        }
        else if (this$dictName.equals(other$dictName)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof DictDetailQueryCriteria;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $label = this.getLabel();
        result = result * 59 + (($label == null) ? 43 : $label.hashCode());
        final Object $dictName = this.getDictName();
        result = result * 59 + (($dictName == null) ? 43 : $dictName.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "DictDetailQueryCriteria(label=" + this.getLabel() + ", dictName=" + this.getDictName() + ")";
    }
}
